package com.huitone.gddw.common.excel;

/**
 * excel列属性
 * @author wuluodan
 *
 */
public class ColProperty {
	private Class<?> type;
	private Integer index; // 列序号
	private String title; // 标题
	private String width; // 宽度

	public ColProperty() {
	}

	public ColProperty(Class<?> type, Integer index, String title) {
		this.type = type;
		this.index = index;
		this.title = title;
	}
	
	public ColProperty(Class<?> type, Integer index, String title, String width) {
		this.type = type;
		this.index = index;
		this.title = title;
		this.width = width;
	}

	public Class<?> getType() {
		return type;
	}

	public void setType(Class<?> type) {
		this.type = type;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}
}
